home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _BFA7D148FF2D4DC59C7CA9EA9F9D358E < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.9 KB  |  182 lines

  1. Shark_x = {
  2. ------------------------------------------------------------------------------------
  3.  
  4. ------------------------------------------------------------------------------------
  5.  
  6.  
  7.     PropertiesInstance ={
  8.         sightrange = 80,
  9.         soundrange = 10,    -- rememeber that sound ranges intersect and sound range for AI doubles when in alert
  10.         groupid = 154,
  11.         aibehavior_behaviour = "Job_PatrolPathNoIdle",
  12.         },
  13.  
  14.     Properties = {
  15.         fMeleeDamage = 100,
  16.         fMeleeDistance = 4,
  17.         KEYFRAME_TABLE = "PIG",
  18.         SOUND_TABLE = "PIG",
  19.         bAffectSOM = 0,
  20.         suppressedThrhld = 5.5,
  21.         bSleepOnSpawn = 1,
  22.         bHelmetOnStart = 0,
  23.         bHasArmor = 1,
  24. --        fileHelmetModel = "Objects/merc_m_heavy.cgf",
  25. --        bHasLight = 0,
  26.         aggression = 0.3,    -- 0 = passive, 1 = total aggression
  27.         commrange = 30.0,
  28. --        cohesion = 5,
  29.         attackrange = 70,
  30.         horizontal_fov = 160,
  31.         eye_height = 0.5,
  32.         forward_speed = 3,
  33.         back_speed = 2.5,
  34.         max_health = 70,
  35.         accuracy = 0.6,
  36.         responsiveness = 7,
  37.         species = 100,
  38.         fSpeciesHostility = 2,
  39.         fGroupHostility = 0,
  40.         fPersistence = 0,
  41.         equipEquipment = "none",
  42.         equipDropPack = "none",
  43.         AnimPack = "Basic",
  44.         SoundPack = "pig",
  45.         aicharacter_character = "Screwed",
  46.         pathname = "none",
  47.         pathsteps = 0,
  48.         pathstart = 0,
  49.         ReinforcePoint = "none",
  50.         --Objects\characters\animals\Pecari\pecari.cgf 
  51.         fileModel = "Objects/characters/animals/GreatWhiteShark/greatwhiteshark.cg",
  52.         bTrackable=0,
  53.  
  54.         speed_scales={
  55.             run            =4.24,
  56.             crouch    =1,
  57.             prone        =1,
  58.             xrun        =1,
  59.             xwalk        =1,
  60.             rrun        =4.24,
  61.             rwalk        =1,
  62.             },
  63.         AniRefSpeeds = {
  64.             WalkFwd = 0.65,
  65.             WalkSide = 0.65,
  66.             WalkBack = 0.65,
  67.             RunFwd = 2.74,
  68.             RunSide = 2.74,
  69.             RunBack = 2.74,
  70.             XWalkFwd = 0.65,
  71.             XWalkSide = 0.65, 
  72.             XWalkBack = 0.65,
  73.             XRunFwd = 4.5,
  74.             XRunSide = 3.5, 
  75.             XRunBack = 4.5,
  76.             CrouchFwd = 0.65,
  77.             CrouchSide = 0.65,
  78.             CrouchBack = 0.65,
  79.         },
  80.     },
  81.     
  82.     PhysParams = {
  83.         mass = 2900,
  84.         height = 1.8,
  85.         eyeheight = 1.7,
  86.         sphereheight = 1.2,
  87.         radius = 0.45,
  88.     },
  89.  
  90. --pe_player_dimensions structure
  91.     PlayerDimNormal = {
  92.         height = 0.6,
  93.         eye_height = 0.3,
  94.         ellipsoid_height = -0.6,
  95.         x = 2.5,
  96.         y = 1,
  97.         z = 0.5,
  98.     },
  99.     PlayerDimCrouch = {
  100.         height = 0.6,
  101.         eye_height = 0.5,
  102.         ellipsoid_height = .6,
  103.         x = 2.5,
  104.         y = 1,
  105.         z = 1,
  106.     },
  107.     PlayerDimProne = {
  108.         height = 0.6,
  109.         eye_height = 0.5,
  110.         ellipsoid_height = .5,
  111.         x = 2.5,
  112.         y = 1,
  113.         z = 1,
  114.     },
  115.     
  116.  
  117.  
  118.     DeadBodyParams = {
  119.         sim_type = 1,
  120.       max_time_step = 0.025,
  121.       gravityz = -7.5,
  122.       sleep_speed = 0.025,
  123.       damping = 0.3,
  124.       freefall_gravityz = -9.81,
  125.       freefall_damping = 0.1,
  126.  
  127.       lying_mode_ncolls = 4,
  128.       lying_gravityz = -5.0,
  129.       lying_sleep_speed = 0.065,
  130.       lying_damping = 1.0
  131.     },
  132.     BulletImpactParams = {
  133.     stiffness_scale = 73,
  134.     max_time_step = 0.02
  135.   },
  136.  
  137.     IsFish = 1,
  138.  
  139.     -- Reloading related
  140.  
  141. --    SoundEvents={
  142. --        {"srunfwd",    0,            666},
  143. --        {"srunfwd",    10,            666},
  144. --        {"srunfwd",    20,            666},
  145. --        {"srunback",    5,            666},
  146. --        {"srunback",    13,            666},
  147. --        {"swalkback",   2,            666},
  148. --        {"swalkback",   18,        666},
  149. --        {"swalkfwd",     3,        666},
  150. --        {"swalkfwd",    20,        666},
  151. --        {"cwalkback",    17,            666},
  152. --        {"cwalkback",    31,            666},
  153. --        {"cwalkfwd",    4,            666},
  154. --        {"cwalkfwd",    21,            666},
  155. --    },
  156.  
  157.     GrenadeType = "ProjFlashbangGrenade",
  158.  
  159.  
  160. }
  161. -------------------------------------------------------------------------------------------------------
  162. function Shark_x:OnInitCustom(  )
  163.  
  164.  
  165. System:Log("Shark_x onInitCustom ");
  166.  
  167.     self.cnt:CounterAdd("SuppressedValue", -2.0 );
  168.  
  169. end
  170.  
  171. ---------------------------------------------------------------------------------------------------------
  172. function Shark_x:OnResetCustom()
  173.  
  174. System:Log("Shark_x onResetCustom ");
  175.  
  176.     self.cnt:CounterSetValue("SuppressedValue", 0.0 );
  177.     self.isSelfCovered = 0;
  178.     self.lastMeleeAttackTime = 0;
  179.     
  180. end
  181. ---------------------------------------------------------------------------------------------------------
  182.